package com.atguigu.guli.service.edu.feign.fallback;

import com.atguigu.guli.service.base.result.R;
import com.atguigu.guli.service.base.result.ResultCodeEnum;
import com.atguigu.guli.service.edu.feign.OssFeignClients;
import org.springframework.stereotype.Component;

@Component
public class OssFeignClientsFallback implements OssFeignClients {

    @Override
    public R delFile(String path, String module) {
        return R.setResult(ResultCodeEnum.FILE_DELETE_ERROR);
    }
}
